home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / ObjectTcl-1.1 / config.status < prev    next >
Encoding:
Text File  |  1995-06-30  |  3.3 KB  |  114 lines

  1. #!/bin/sh
  2. # Generated automatically by configure.
  3. # Run this file to recreate the current configuration.
  4. # This directory was configured as follows,
  5. # on host bury.x.co.uk:
  6. #
  7. # configure 
  8. #
  9. # Compiler output produced by configure, useful for debugging
  10. # configure, is in ./config.log if it exists.
  11.  
  12. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
  13. for ac_option
  14. do
  15.   case "$ac_option" in
  16.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  17.     echo "running ${CONFIG_SHELL-/bin/sh} configure  --no-create --no-recursion"
  18.     exec ${CONFIG_SHELL-/bin/sh} configure  --no-create --no-recursion ;;
  19.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  20.     echo "./config.status generated by autoconf version 2.1"
  21.     exit 0 ;;
  22.   -help | --help | --hel | --he | --h)
  23.     echo "$ac_cs_usage"; exit 0 ;;
  24.   *) echo "$ac_cs_usage"; exit 1 ;;
  25.   esac
  26. done
  27.  
  28. ac_given_srcdir=.
  29. ac_given_INSTALL="./install-sh -c"
  30.  
  31. trap 'rm -f Makefile; exit 1' 1 2 15
  32.  
  33. # Protect against being on the right side of a sed subst in config.status. 
  34. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; 
  35.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  36. /^[     ]*VPATH[     ]*=[^:]*$/d
  37.  
  38. s%@CFLAGS@%%g
  39. s%@CPPFLAGS@%%g
  40. s%@CXXFLAGS@%-g%g
  41. s%@DEFS@% %g
  42. s%@LDFLAGS@%%g
  43. s%@LIBS@% -lsocket%g
  44. s%@exec_prefix@%${prefix}%g
  45. s%@prefix@%/usr/local%g
  46. s%@program_transform_name@%s,x,x,%g
  47. s%@CXX@%CC%g
  48. s%@RANLIB@%:%g
  49. s%@INSTALL_PROGRAM@%${INSTALL}%g
  50. s%@INSTALL_DATA@%${INSTALL} -m 644%g
  51. s%@CXXCPP@%CC -E%g
  52. s%@XLIBSW@%-L/usr/lib -lX11%g
  53. s%@MATH_LIBS@%-lm%g
  54.  
  55. CEOF
  56.  
  57. CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  58. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  59.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  60.   case "$ac_file" in
  61.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  62.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  63.   *) ac_file_in="${ac_file}.in" ;;
  64.   esac
  65.  
  66.   # Adjust relative srcdir, etc. for subdirectories.
  67.  
  68.   # Remove last slash and all that follows it.  Not all systems have dirname.
  69.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  70.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  71.     # The file is in a subdirectory.
  72.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  73.     ac_dir_suffix="/$ac_dir"
  74.     # A "../" for each directory in $ac_dir_suffix.
  75.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  76.   else
  77.     ac_dir_suffix= ac_dots=
  78.   fi
  79.  
  80.   case "$ac_given_srcdir" in
  81.   .)  srcdir=.
  82.       if test -z "$ac_dots"; then top_srcdir=.
  83.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  84.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  85.   *) # Relative path.
  86.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  87.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  88.   esac
  89.  
  90.   case "$ac_given_INSTALL" in
  91.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  92.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  93.   esac
  94.   echo creating "$ac_file"
  95.   rm -f "$ac_file"
  96.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  97.   case "$ac_file" in
  98.   *Makefile*) ac_comsub="1i\\
  99. # $configure_input" ;;
  100.   *) ac_comsub= ;;
  101.   esac
  102.   sed -e "$ac_comsub
  103. s%@configure_input@%$configure_input%g
  104. s%@srcdir@%$srcdir%g
  105. s%@top_srcdir@%$top_srcdir%g
  106. s%@INSTALL@%$INSTALL%g
  107. " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  108. fi; done
  109. rm -f conftest.subs
  110.  
  111.  
  112.  
  113. exit 0
  114.